# -*- coding: utf-8 -*-

from flask_script import Manager
from app.services import tushare_service

source_manager = Manager()


@source_manager.command
def get_stock_list():
    tushare_service.get_stock_list()


@source_manager.command
def get_index_list():
    tushare_service.get_index_list()


@source_manager.command
def get_trade_calendar():
    tushare_service.get_trade_calendar()


@source_manager.command
def get_name_change():
    tushare_service.get_name_change()


@source_manager.command
def get_income():
    tushare_service.get_income()
